<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * @category   Hamania
 * @package    Hamania_CashOnRelay
 * @copyright  Copyright (c) 2010 Hamania Medien GmbH & Co. KG (http://www.phoenix-medien.de)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */
?>
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
    {{pdf_row_separator}}
<?php if ($this->getMethod()->getCustomText()): ?>
    <?php echo $this->htmlEscape($this->getMethod()->getCustomText()) ?><br />
<?php endif; ?>
    {{pdf_row_separator}}
    <?php        
        $_extra_fee_excl = $this->getCorFeeExclTax();
        $_extra_fee_incl = $this->getCorFeeInclTax();
        if (!is_null($_extra_fee_excl)):
            $_corFeeStr = $_extra_fee_excl;
            if ($this->helper('cashonrelay')->displayCorBothPrices() && ($_extra_fee_incl != $_extra_fee_excl)) {
                        $_corFeeStr .= ' ('.$this->__('Incl. Tax').' '.$_extra_fee_incl.')';
            }
    ?>

    <?php if((float)$this->getRawCorFee() || Mage::getStoreConfig('payment/cashonrelay/display_zero_fee')): ?>
    <?php echo $this->__('Cash on Relay fee %s', $_corFeeStr) ?>
    <?php endif; ?>
<?php endif; ?>